//
//  BaseVC.h
//  platformDemo
//
//  Created by Owen on 2020/6/9.
//  Copyright © 2020 Owen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PTNavigationBar.h"
NS_ASSUME_NONNULL_BEGIN

@interface BaseVC : UIViewController

/**自定义导航头*/
@property (nonatomic,strong) PTNavigationBar *navBar;

/**底层*/
@property (nonatomic,strong) UIView *contentView;

@property (nonatomic,strong) UIView *shadowBgView;


/**隐藏导航头*/
- (void) hiddenNavBar;
/**出现*/
- (void) showNavBar;

//加载动画
- (void)startLoading;
- (void)stopLoading;

//提示加载动画
- (void)startIndicatorLoading;
- (void)stopIndicatorLoading;

- (void)startIndicatorLoadingWithShadow;
- (void)stopIndicatorLoadingWithShadow;

//没有网络的提示
- (void)showNetErrorTipOfNormalVC;
- (void)hideNetErrorTipOfNormalVC;

- (void)showNetErrorTipOfMainVC;
- (void)hideNetErrorTipOfMainVC;

//没有返回数据的提示
- (void)showNoneDataTip;
- (void)hideNoneDataTip;

//提示
- (void) showSuccessTemporaryMes:(NSString *) text;
- (void) showFailTemporaryMes:(NSString *) text;

//提示框
- (void) showAlterViewWithText:(NSString *) text;


@end

NS_ASSUME_NONNULL_END
